﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Admin_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="background-color:Silver;">
    <table align="center" style="">
                        <tr>
                            <td colspan="2">
                            <center><h1>Đăng nhập</h1>
                                <p>
                                    <asp:Label ID="lblPass" runat="server"  ForeColor="Red" 
                                        Text="Tên hoặc mật khẩu không đúng." Visible="False"></asp:Label>
                                </p>
                                </center>
                            </td>
                        </tr>
                        <tr>
                            <td class="style2">
                                Tên:</td>
                            <td>
                                &nbsp;&nbsp;<asp:TextBox ID="txtName" runat="server" Width="200px" TabIndex="1" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                    ErrorMessage="Vui lòng nhập tên" ControlToValidate="txtName" ValidationGroup="log">Vui lòng nhập tên</asp:RequiredFieldValidator>
                              
                            </td>
                        </tr>
                        <tr>
                            <td class="style2">
                                Mật khẩu:</td>
                            <td>
                                &nbsp;&nbsp;<asp:TextBox ID="txtPass" runat="server" Width="200px" 
                                    TextMode="Password" TabIndex="2" />
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                    ErrorMessage="Vui lòng nhập mật khẩu" ControlToValidate="txtPass" 
                                    ValidationGroup="log">Vui lòng nhập mật khẩu</asp:RequiredFieldValidator>
                              

                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <center>
                                    <asp:Button ID="btnLogin" runat="server" Text="Đăng nhập" 
                                        ValidationGroup="log" TabIndex="3" onclick="btnLogin_Click"  />
                                </center>
                            </td>
                        </tr>
                       
                    </table>
    </div>
    </form>
</body>
</html>
